LEGION Model Builder Help

Setting Target Rules

Target Rules enable you to specify how often and when Entities are affected by a Direction Modifier. For example, you may wish to ensure that Entities are not affected more than once, or you may want to prevent Entities visiting one of the DM's targets before they have visited another.

This procedure assumes that the ‘Edit Direction Modifier’ dialog box is already displayed, open on the ‘Target Rules’ tab.

Note: The default setting for Target Rules is ‘Not used’.

To set Target Rules for a Direction Modifier:

  1. In the ‘Entity Memory Usage’ portion of the dialog box, select one of the following options:
    • Not used – the same Entity may be affected by the same Direction Modifier over and over again if it crosses its area multiple times (go to step 4).
    • Do not visit a target more than once – the DM will not direct Entities to a target they have already visited (go to step 4).
    • Do not affect Entities that have visited targets in the list below – Entities that have visited objects selected from the list below will not be affected (go to step 2).
    • Only affect Entities that have visited targets in the list below – Entities will only be affected after they have visited objects selected from the list below (go to step 2).
    • Do not affect an Entity more than once – Entities that have visited once will not be affected if they visit again in the course of the simulation.
    • Affect Entity multiple times while inside – Entities may be affected more than once while they are inside the Direction Modifier (for example, they may miss a train, return to their waiting point and then attempt to board subsequent trains).
  2. In the ‘Target List’ portion of the dialog box, specify whether Any target or All targets should be used in the evaluation.

    By way of illustration, if you selected ‘Do not affect Entities that have visited targets in the list below’, then specifying ‘Any target’ means that if an Entity has visited one of the targets in your Target List, it will not be affected again. Conversely, 'All targets' means that an Entity will continue to be affected until it has visited each and every target in the list.

  3. Select targets in the following ways.
    • To move all items into the Selected target(s) pane, click the >> button.
    • To move a single item into the Selected target(s) pane, click on the item and click the > button.
    • To move all items back into the Available target(s) pane, click the << button.
    • To move a single item back into the Available target(s) pane, click on the item and click the < button
  4. Click OK to save your rules or click any of the other tabs if required.